package com.mall.dao;

import com.mall.bean.ShopCart;
import com.mall.bean.ShopCartExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface ShopCartMapper {
    long countByExample(ShopCartExample example);

    int deleteByPrimaryKey(String shop_cart_id);

    int insert(ShopCart record);

    int insertSelective(ShopCart record);

    List<ShopCart> selectByExample(ShopCartExample example);

    ShopCart selectByPrimaryKey(String shop_cart_id);

    int updateByExampleSelective(@Param("record") ShopCart record, @Param("example") ShopCartExample example);

    int updateByExample(@Param("record") ShopCart record, @Param("example") ShopCartExample example);

    int updateByPrimaryKeySelective(ShopCart record);

    int updateByPrimaryKey(ShopCart record);

    int batchRemoveShopItemByIdArray(String[] idArray);
}